import request from '@/utils/request'

export  function getCodeImgId() {
   return  request({
    url: '/api/v1/pub/login/captchaid',
    method: 'get'
  })
}

// 获取验证码
export function getCodeImg(captchaid) {
  return  process.env.VUE_APP_BASE_API+'/api/v1/pub/login/captcha?id='+captchaid
}
